Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Smithy to 1.52.1 #2881

Merged
merged 9 commits into from
Nov 1, 2024
Merged

Update Smithy to 1.52.1 #2881

merged 9 commits into from
Nov 1, 2024

Conversation

Madrigal
Copy link
Contributor

Includes the following changes

  • Update Smithy to 1.52.1
  • Update protocol tests after Smithy 1.52.1 update
  • Add changelog

I wasn't expecting these many protocol tests to be updated by bringing in the latest version. Did a quick check of one that we brought in with this release (this one) and it seems to have been introduced in 1.41, so unsure why it wasn't being generated.

Relies on aws/smithy-go#550

@Madrigal Madrigal requested a review from a team as a code owner October 31, 2024 16:14
@Madrigal Madrigal changed the title Add changelog Update Smithy to 1.52.1 Oct 31, 2024
@@ -1 +1 @@
e6338ca9b5ee30c6317ea908173a369a9d3eb236
48250f49d98ad6bed6c302a8af97f62cc7f3bd83
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hold on, is this right?

this seems to be the latest (w/ smithy upgrade)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch, will update it

@Madrigal
Copy link
Contributor Author

Discussed with Smithy, this is related to smithy-lang/smithy#2432

From Swift who also faced this issue

Smithy 1.52.1 adds a new validator smithy-lang/smithy#2426 which flags shapes that aren't attached to a service. The removeUnusedShapes transform is added to the build command for Smithy protocol test generation so that these shapes are stripped & the validation is not triggered.

@erka
Copy link

erka commented Nov 1, 2024

@Madrigal could you please add .DS_Store into .gitignore as well in this PR. Thank you!

@Madrigal
Copy link
Contributor Author

Madrigal commented Nov 1, 2024

@erka will send another PR to add other common stuff to .gitignore

@Madrigal Madrigal merged commit 253d7b1 into main Nov 1, 2024
13 checks passed
@Madrigal Madrigal deleted the chore-update-smithy branch November 1, 2024 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants